package com.teacher.pojo.dto.term;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class TermAddDto {
    @ApiModelProperty(value = "学年名称")
    @NotBlank(message = "学年名称 不能为空")
    private String year;

    @ApiModelProperty(value = "学期名称")
    @NotBlank(message = "学期名称 不能为空")
    private String term;
}
